package com.sc.nft.entity.dto;

import com.sc.nft.enums.WhiteListEnum;
import com.sc.nft.sup.PageRequest;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import org.web3j.abi.datatypes.Int;
@Data
public class WhiteListDTO extends PageRequest {
    @ApiModelProperty(value = "用户手机号")
    private String userTel;

    @ApiModelProperty(value = "白名单筛选类型")
    private Integer whiteCode;

    public void setWhiteCode(WhiteListEnum whiteCode) {
        this.whiteCode = whiteCode.getCode();
    }
}
